1 	public bool AddBookingToCustomer(Customer cust, Booking booking)
2   	{
3   		bool succes = false;
4 		try
5 		{
6 
7 			EntityBooking eBook = new EntityBooking() { 
8 														id = booking.BookingId,
9 														totalPrice = (decimal)booking.TotalPrice,
10														employee_Id = booking.EmpId,
11														isCollected = booking.IsCollected,
12														customer_id = booking.BookingId 
13													   };
14			db.Bookings.Add(eBook);
15			db.SaveChanges();
16			succes = true;
17		}
18		catch(Exception e)
19		{
20			Console.WriteLine("Error: " + e);
21		}
22		return succes;
23	}